//封装和token相关的方法 存 取 删
const TOKENKEY='token_key'
function setToken(token){
localStorage.setItem(TOKENKEY,token)
}
function getToken(token){
return localStorage.getItem(TOKENKEY,token)
}
function removeToken(token){
    localStorage.removeItem(TOKENKEY,token)
}
export {setToken,getToken,removeToken}